/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exatrez.manager;

import com.google.inject.Inject;
import com.wideplay.warp.persist.Transactional;
import exatrez.dao.InboxDAO;
import exatrez.model.Inbox;
import org.hibernate.Session;

/**
 *
 * @author fikri
 */
public class InboxManager {

    @Inject
    protected com.google.inject.Provider<Session> sessionProvider;
    
    @Inject
    private InboxDAO inboxDAO;
    
    @Transactional
    public void saveOrUpdate(Inbox inbox) {
        inboxDAO.saveOrUpdate(inbox);
    }


   
}
